Struct for our GL-Based Images
This is our struct to hold our image attributes. You don't need to worry about this if you use the texture packer.
More...
#include <FBGL2D7.h>
Public Attributes | |
| integer | width |
| integer | height |
| single | u_offset |
| single | v_offset |
| single | texture_width |
| single | texture_height |
| GLuint | textureID |
Struct for our GL-Based Images
This is our struct to hold our image attributes. You don't need to worry about this if you use the texture packer.
Struct for out GL-Based Images.
This is our struct to hold our image attributes.
You don't need to worry about this if you use the texture packer.
| integer Image::height |
Height of the sprite
| single Image::texture_height |
Vertical texture offset height of the sprite
| single Image::texture_width |
Horizontal texture offset width of the sprite
| GLuint Image::textureID |
OpenGL generated texture ID of the sprite
| single Image::u_offset |
Horizontal texture offset of the sprite
| single Image::v_offset |
Vertical texture offset of the sprite
| integer Image::width |
Width of the sprite
1.7.2